<html lang="zh-CN">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<title></title>
	<script type="text/javascript" src="${StringUtil.getWebRootPath()}/resource/js/sea.js"></script>
	<link type="text/css" rel="stylesheet" href="${StringUtil.getWebRootPath()}/oa/act/main/css/actCommon.css">
	<link type="text/css" rel="stylesheet" href="${StringUtil.getWebRootPath()}/oa/act/main/css/approver.css">
	<style>
	 #mask{
	    position: absolute;
	    width: 100%;
	    height: 100%;
	    background: #000;
	    top: 0;
	    opacity: 0.5;
	    display:none;
	 }
	 #maskText{
		width: 400px;
	    height: 40px;
	    position: absolute;
	    top: 40%;
	    text-align: center;
	    left: 50%;
	    margin-left: -200px;
	    color: #fff;
	    display:none;
    }

    #historicalData{
            padding: 5px 0px; 
            margin-bottom: 20px; 
            width: 280px;
            cursor: hand;
            font-weight: bold;
            color: #1E8CFB;
            position:absolute;
            left: 10px;
            top: 5px;
            margin-left: 15px;
        }
	</style>
</head>
 
<body style="height:100%;background:transparent;overflow: hidden;margin-top: 25px;">	
	<div style="float: left;">
		<#if (key!"") == "leave">
			<a id="historicalData" data-title="请假历史" data-unit="天" >请假历史</a>
		<#elseif (key!"") == "goOut">
			<a id="historicalData" data-title="外出历史" data-unit="小时" >外出历史</a>
		<#elseif (key!"") == "overtime">
			<a id="historicalData" data-title="加班历史" data-unit="小时" >加班历史</a>
		</#if>
	</div>
 	<div id="mainView" style="overflow-y:auto;overflow-x:hidden;">
		<#include "addViewPageTemple.ftl"/>
	</div>
	<div id="subsView" class="footer" style="display:none;">
		<#if subs?? || main?? >
			<div id="dealWarp" class="actWarp" style="overflow-y:auto;overflow-x:hidden;">
				<div id="dealWarp_arrow" class="arrow arrow-up"></div>
				<#include "addMainPageTemple.ftl"/>
				<#include "addSubsPageTemple.ftl"/>
			</div>
		</#if>
		<div id="btnsWarp" class="btns actWarp">
			<input type='hidden' id='assign-UserId' /> 
			<#include "addBtnsPageTemple.ftl"/>
		</div>
	</div>
	<div id="common_select" style="width:300px;height:auto;overflow-y:auto;"></div>
</body>
<script>
	seajs.use("oa/act/main/js/paintForm",function(paint){
		paint.initPage();
	});
</script>
</html>
